{%load staticfiles  %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/static/css/User/style.css">
    <style>
        input.change_color{
            background-color: red !important;
        }

    </style>
</head>
<body>
<section>

    <!-- 登录 -->

    <div class="container">
        <div class="user singinBx">
            <div class="imgBx"><img src="/static/img/huoying.png/" alt=""></div>
            <div class="formBx">
                <form action="javascript:" class="login">
                    <h2>登录</h2>
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <input type="text" name="user" placeholder="用户名">
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <input type="password" name="password" placeholder="密码">
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <br>
                    <input type="submit" name="" value="登录" id="login_submit">
                    <p class="signup">没有账号？<a href="#" onclick="topggleForm();">注册</a></p>
                </form>
            </div>
        </div>

        <!-- 注册 -->

        <div class="user singupBx">
            <div class="formBx">
                <form action="javascript:" class="register">
                    <h2>注册</h2>
                    <input type="text" class="user1" placeholder="用户名">
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <input type="email" name="email" placeholder="邮箱地址" id="email">
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <input type="password" name="password" placeholder="密码">
                    <span style="display: none;color: red;font-size: 6px"></span>
                    <input type="password" name="re_password" placeholder="再次输入密码">
                    <span style="color: red;display: none"></span>
                    <input type="text" name="auth_code" placeholder="请输入邮箱验证码">
                    <br> <input type="submit" id="submit2" value="获取验证码"  >
                    <span style="color: red;display: none"></span>
                    <br> <input type="submit" id="submit3" value="提交"  >
                    <p class="signup">已有账号？<a href="#" onclick="topggleForm();">登录</a></p>
                </form>
            </div>
            <div class="imgBx"><img src="/static/img/paojie.png" alt=""></div>
        </div>

    </div>
    <div id="test"></div>
</section>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<script type="text/javascript">
    function topggleForm() {
        var container = document.querySelector('.container');
        container.classList.toggle('active');
    }
</script>
<script src="/static/js/user.js"></script>
</body>
</html>